﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SimpleJabberLibrary {
    public class Jabber {

        private Connection connection = new Connection();

        public string Jid { get; set; }
        public string Password { get; set; }

        public bool Connected { get; set; }

        public Jabber() {

        }

        public Jabber(string jid, string password) {
            this.Jid = jid;
            this.Password = password;
        }

        public void connect() {
            Connected = connection.connect(Jid, Password);
        }
    }
}
